package com.operator;

public class OperatorDemo {
    public static void main(String[] args) {
        // 目标:掌握基本的算数运算符的基本使用： + - * /
        int a = 10;
        int b = 3;
        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a * b);
        System.out.println(a / b); // 3.3333 ==> 3
        System.out.println(3 /2);
        System.out.println(3 * 1.0 /2);
        System.out.println(10 % 3); // 1
        System.out.println(10 % 4); // 2
    }
}
